|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.interactions.core.support.Widget
org.eclipse.vtp.framework.interactions.voice.vxml.EventHandler
org.eclipse.vtp.framework.interactions.voice.vxml.NoMatch
public class NoMatch
The NoMatch class represents the <nomatch> VXML element.
It is a subclass of EventHandler that catches errors generated
when the caller entered data fails to satisfy the grammar rules.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
NoMatch()
Creates a new instance of NoMatch which does not employ a
conditional expression or require a specific number of occurrences to
receive an event. |
|
NoMatch(int count)
Creates a new instance of NoMatch that requires a specific
number of occurrences of an event to receive it. |
|
NoMatch(int count,
java.lang.String condition)
Creates a new instance of NoMatch with a conditional
expression that must evaluate to true for the event handler to receive an
event. |
|
NoMatch(java.lang.String condition)
Creates a new instance of NoMatch with a conditional
expression that must evaluate to true for the event handler to receive an
event. |
|
| Method Summary | |
|---|---|
void |
writeWidget(org.xml.sax.ContentHandler outputHandler)
Writes the content of this widget to an XML content handler. |
| Methods inherited from class org.eclipse.vtp.framework.interactions.voice.vxml.EventHandler |
|---|
addAction, addIfClause, getActionsAndIfClauses, getCondition, getCount, removeAction, removeIfClause, setCondition, setCount, writeActionsAndIfClauses, writeAttributes |
| Methods inherited from class org.eclipse.vtp.framework.interactions.core.support.Widget |
|---|
toString, writeAttribute, writeChildren, writeChildren, writeWidget, writeWidget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NoMatch()
NoMatch which does not employ a
conditional expression or require a specific number of occurrences to
receive an event.
public NoMatch(int count)
NoMatch that requires a specific
number of occurrences of an event to receive it. It does not employ a
conditional expression that must be evaluated before receiving an event.
count - The number of occurrences of an event for this event handler
to receive it.
public NoMatch(java.lang.String condition)
throws java.lang.IllegalArgumentException
NoMatch with a conditional
expression that must evaluate to true for the event handler to receive an
event. It does not require a specific number of occurrences to receive an
event.
condition - Expression that must evaluate to true for the event
handler to receive the event
java.lang.IllegalArgumentException - If the supplied condition is empty.
public NoMatch(int count,
java.lang.String condition)
throws java.lang.IllegalArgumentException
NoMatch with a conditional
expression that must evaluate to true for the event handler to receive an
event. It also requires a specific number of occurrences of the event to
receive it.
count - The number of occurrences of an event for this event handler
to receive it.condition - Expression that must evaluate to true for the event
handler to receive the event.
java.lang.IllegalArgumentException - If the supplied condition is empty.| Method Detail |
|---|
public void writeWidget(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
Widget
writeWidget in class WidgetoutputHandler - The handler to write this widget to.
java.lang.NullPointerException - If the supplied content handler is
null.
org.xml.sax.SAXException - If the writing of this widget fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||